package com.wlyuan.open.scanner.domain.order.mapping;

import org.mapstruct.Mapping;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

/**
 * @author lijing
 * @description
 */
@Retention(RetentionPolicy.CLASS)
@Mapping(target = "info.contractNo", source = "indexPactcode")
@Mapping(target = "info.customerId", source = "indexCustomerid")
@Mapping(target = "info.customerName", source = "customerName")
@Mapping(target = "info.customerType", source = "customerType")
@Mapping(target = "info.consigneeId", source = "indexEnduserid")
@Mapping(target = "info.consigneeName", source = "indexEndusername")
@Mapping(target = "info.desc", source = "indexDescription")
public @interface InfoMapping {
}
